<?php if (!defined('SHUIPF_VERSION')) exit(); ?>
		<php>$timestamp=time();</php>

<div id="top">
		<div class="bar">
			<div class="bar_l">
				<if condition="$uid">
				你好，<font style="color:red;width:28px;height:15px"><php>echo AppframeAction::$Cache[User][username];</php></font>，欢迎来到{$Config.sitename}!
				<a href="{:U('Member/Index/index')}" target="_self">[管理中心]</a>  <a href="{:U('Member/Index/logout')}" target="_self">[退出]</a>
				<else/>
				亲，欢迎来到{$Config.sitename}！
				<a href="{:U('Member/Index/login')}" >请登录</a>
				|
				<a href="{:U('Member/Index/register')}">免费注册</a>
				</if>
			</div>

			<div class="bar_r">
				<div id="popimg">
					<div id="nav">
						
					</div>
				</div>
			<if condition="$uid">
				<a href="{:U('Member/Index/index')}">我的主页</a>
			</if>
		</div>
		<div class="clearbox"></div>
	</div>
</div>
<div id="header">
	<div id="head">
		<a id="logo" href="{$Config.siteurl}" title="{$Config.sitename}"></a>
		<!-- <div id="sch">
			<ul>
				<li tp="0" class="on">新房</li>
				<li tp="3">二手房</li>
			</ul>

			<form name="formsearch" id="frm" method="post" action="{:U('Search/Index/index')}">
				<input maxlength="30" type="text" name="q" id="inputString" autocomplete="off" style="outline:none" />
				<button type="submit" id="btsch">搜房源</button>
			</form>
			<div class="lnk">
			</div> 
		</div> -->
		<div class="contact">
			<div class="qq">
				<a href="http://wpa.qq.com/msgrd?v=1&uin=2296188964&site=mall.ph-fc.com&menu=yes"><img alt="客服QQ: 2296188964" border="0" SRC="{$config_siteurl}statics/nhjhouse/images/zx_qq.gif"></a></div>
		</div>



	</div>

	<div id="menu">
		<div class="t">
			<ul id="nav_ul">
				<li>
					<a href="{:U('Buy/Index/index')}" >首页</a>
				</li>
				<li>
					<a href="{:U('Buy/Index/listGoods',array('cid'=>1))}" >买新房</a>
				</li>
				<li>
					<a href="{:U('Buy/Index/listGoods',array('cid'=>2))}" >二手房租售</a>
				</li>
			</ul>
		</div>
		<div class="n">
			<ul>
				<li>
					<script language="javascript" type="text/javascript">
var marqueeContent = new Array();
	        <content action="lists" catid="3"  order="id DESC" num="6" return="kdata">
	        <volist name="kdata" id="vo">
marqueeContent[{$i-1}]='<a href=\"{$vo.url}\" title=\"{$vo.title}\" target=_blank>{$vo.title}</a>';
	        </volist>
	        </content>
var marqueeInterval=new Array();  /*定义一些常用而且要经常用到的变量*/
var marqueeId=0;
var marqueeDelay=3000; //滚动间隔时间 单位毫秒
var marqueeHeight=25; //滚动间隔DIV高度 单位PX
//接下来的是定义一些要使用到的函数
function initMarquee() {
    var str=marqueeContent[0];
    document.write('<div id=marqueeBox style="text-align:left;overflow:hidden;height:'+marqueeHeight+'px" onmouseover="clearInterval(marqueeInterval[0])" onmouseout="marqueeInterval[0]=setInterval(\'startMarquee()\',marqueeDelay)"><div>'+str+'</div></div>');
    marqueeId++;
    marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay);
    }
function startMarquee() {
    var str=marqueeContent[marqueeId];
        marqueeId++;
    if(marqueeId>=marqueeContent.length) marqueeId=0;
    if(document.getElementById('marqueeBox').childNodes.length==1) {
        var nextLine=document.createElement('DIV');
        nextLine.innerHTML=str;
        document.getElementById('marqueeBox').appendChild(nextLine);
        }
    else {
        document.getElementById('marqueeBox').childNodes[0].innerHTML=str;
        document.getElementById('marqueeBox').appendChild(document.getElementById('marqueeBox').childNodes[0]);
        document.getElementById('marqueeBox').scrollTop=0;
        }
    clearInterval(marqueeInterval[1]);
    marqueeInterval[1]=setInterval("scrollMarquee()",20);
    }
function scrollMarquee() {
    document.getElementById('marqueeBox').scrollTop++;
    if(document.getElementById('marqueeBox').scrollTop%marqueeHeight==(marqueeHeight-1)){
        clearInterval(marqueeInterval[1]);
        }
    }
initMarquee();
  </script>
				</li>
			</ul>
		</div>
		<div class="clearbox"></div>
	</div>
</div>